Skip to content

fix(iluvatar): move memory query out of health check condition#13

Merged
thxCode merged 1 commit into
gpustack:mainfrom
stezpy:fix/iluvatar_gpu_vram_fail
Jun 12, 2026
Merged

fix(iluvatar): move memory query out of health check condition#13
thxCode merged 1 commit into
gpustack:mainfrom
stezpy:fix/iluvatar_gpu_vram_fail

Conversation

@stezpy

@stezpy stezpy commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

在2.1.2版本上发现添加的worker节点不能正常读取天数智芯gpu信息
与runtime中的iluvatar.py中的显存检测有关系,默认的条件下会跳过显存检测导致web ui上不显示gpu信息
目前对gpu显存检测流程作了修改

Co-authored-by: Cursor Agent <cursoragent@cursor.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request modifies the Iluvatar GPU detector to retrieve device memory information regardless of whether the health check is enabled. The reviewer suggested replacing the use of contextlib.suppress with a try...except block that logs a debug exception if retrieving the memory info fails, preventing silent failures and improving troubleshooting.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread gpustack_runtime/detector/iluvatar.py

@thxCode thxCode left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thxCode thxCode merged commit 94ebfdd into gpustack:main Jun 12, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants